package bean;

public class LoginBean {

	private String username;
	private String password;

	public String process() {
		System.out.println("Halo");
		String result = "failure";
		if (getUsername().equals(getPassword())) {
			result = "success";
		}
		return result;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
